Skip to content

Conversation

hug-dev
Copy link
Member

@hug-dev hug-dev commented Oct 22, 2019

This change makes the operations simpler by removing the KeyLifetime
attribute of the keys.
The choice between using permanent or volatile keys is now going to be
done at the provider level with providers using either volatile or
permanent keys.

Signed-off-by: Hugues de Valon [email protected]

@hug-dev hug-dev requested a review from ionut-arm October 22, 2019 12:42
@hug-dev hug-dev self-assigned this Oct 22, 2019
}

message KeyAttributesProto {
KeyLifetime key_lifetime = 1;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you pull the tag numbers down to start from 1 again?


message OpAsymmetricVerifyProto {
string key_name = 1;
key_attributes.KeyLifetime key_lifetime = 2;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same, tags should be in order


message OpAsymmetricSignProto {
string key_name = 1;
key_attributes.KeyLifetime key_lifetime = 2;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto

@hug-dev
Copy link
Member Author

hug-dev commented Oct 22, 2019

Oops, forgot about that, will change!

This change makes the operations simpler by removing the KeyLifetime
attribute of the keys.
The choice between using permanent or volatile keys is now going to be
done at the provider level with providers using either volatile or
permanent keys.

Signed-off-by: Hugues de Valon <[email protected]>
@hug-dev
Copy link
Member Author

hug-dev commented Oct 22, 2019

Updated the changes to keep the same field numbers but use reserved fields instead as per https://developers.google.com/protocol-buffers/docs/proto3#reserved

hug-dev added a commit to hug-dev/parsec-interface-rs that referenced this pull request Oct 22, 2019
Removes all key lifetime after parallaxsecond/parsec-operations#2.

Signed-off-by: Hugues de Valon <[email protected]>
@hug-dev hug-dev merged commit bb0ea76 into parallaxsecond:master Oct 23, 2019
@hug-dev hug-dev deleted the remove-lifetimes branch October 23, 2019 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants